﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        
        
        
        static void Main(string[] args)
        {
            Users user1 = new Users();//新建对象
            Console.WriteLine("请输入您的名字");
            user1.Name = Console.ReadLine();
            Console.WriteLine("你的名字是"+user1.Name);
            Console.WriteLine("请输入您的年龄");
            user1.Age = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("您的年龄是"+ user1.Age);
        }
    }
}
